#include<cstdlib>
#include<iostream>
#include "../stream/outputbufferstream.h"
#include "random.h"
#include<climits>
void random(char* fileName, int N)
{
	outputbufferstream os;
	os.create(fileName);
	if( N >INT_MAX)
		N = INT_MAX;
	for (int i =0;i<N; i++)
		os.write_s(rand());
	os.close_s();
}
	
